/*
 * Copyright (c) Hisilicon Technologies Co., Ltd. 2018-2019. All rights reserved.
 * Description:hal watchDog interface
 * Author:IP Camera Reference Develop Team
 * Create:2018/12/28
 */

#ifndef HI_HAL_WATCHDOG_H
#define HI_HAL_WATCHDOG_H

#include "hi_type.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* End of #ifdef __cplusplus */

/* redefine module name */
#ifdef HI_MODULE
#undef HI_MODULE
#endif

#define HI_MODULE "HALWDG"

/* pmc user reg1 bit 5 */
#define HAL_WATCH_DOG_REG_BIT 5

HI_S32 HI_HAL_WDG_Init(HI_VOID);

HI_VOID HI_HAL_WDG_DeInit(HI_VOID);

HI_VOID HI_HAL_WDG_ClearIRQ(HI_VOID);


#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* End of #ifdef __cplusplus */

#endif /* End of #ifndef HI_HAL_WATCHDOG_H */
